package com.aspose.cells;

public class PicFormatOption {
   private int b = 3584;
   private int c = 0;
   private double d = 1.0D;
   private int e;
   private int f;
   private int g;
   private int h;
   int a = 19;

   int a() {
      return this.b;
   }

   void a(int var1) {
      this.b = var1;
   }

   public int getType() {
      return this.c;
   }

   public void setType(int value) {
      this.c = value;
   }

   public double getScale() {
      return this.d;
   }

   public void setScale(double value) {
      this.d = value;
   }

   public double getLeft() {
      return (double)this.e / 1000.0D;
   }

   public void setLeft(double value) {
      this.e = (int)(value * 1000.0D + 0.5D);
   }

   public double getTop() {
      return (double)this.f / 1000.0D;
   }

   public void setTop(double value) {
      this.f = (int)(value * 1000.0D + 0.5D);
   }

   public double getBottom() {
      return (double)this.h / 1000.0D;
   }

   public void setBottom(double value) {
      this.h = (int)(value * 1000.0D + 0.5D);
   }

   public double getRight() {
      return (double)this.g / 1000.0D;
   }

   public void setRight(double value) {
      this.g = (int)(value * 1000.0D + 0.5D);
   }

   boolean b() {
      return (this.a() & '\uffff' & 2048) != 0;
   }

   void a(boolean var1) {
      if (var1) {
         this.a(this.a() | 2048);
      } else {
         this.a(this.a() & '\uf7ff');
      }

   }

   boolean c() {
      return (this.a() & '\uffff' & 1024) != 0;
   }

   void b(boolean var1) {
      if (var1) {
         this.a(this.a() | 2048);
      } else {
         this.a(this.a() & 'ﯿ');
      }

   }

   boolean d() {
      return (this.a() & '\uffff' & 512) != 0;
   }

   void c(boolean var1) {
      if (var1) {
         this.a(this.a() | 2048);
      } else {
         this.a(this.a() & '\ufdff');
      }

   }

   void a(PicFormatOption var1) {
      this.b = var1.b;
      this.c = var1.c;
      this.d = var1.d;
      this.a = var1.a;
      this.e = var1.e;
      this.f = var1.f;
      this.h = var1.h;
      this.g = var1.g;
   }

   boolean b(PicFormatOption var1) {
      if (this.b != var1.b) {
         return false;
      } else if (this.c != var1.c) {
         return false;
      } else if (this.d != var1.d) {
         return false;
      } else if (this.a != var1.a) {
         return false;
      } else if (this.e != var1.e) {
         return false;
      } else if (this.f != var1.f) {
         return false;
      } else if (this.h != var1.h) {
         return false;
      } else {
         return this.g == var1.g;
      }
   }

   int e() {
      return this.e;
   }

   void b(int var1) {
      this.e = var1;
   }

   int f() {
      return this.f;
   }

   void c(int var1) {
      this.f = var1;
   }

   int g() {
      return this.g;
   }

   void d(int var1) {
      this.g = var1;
   }

   int h() {
      return this.h;
   }

   void e(int var1) {
      this.h = var1;
   }
}
